package com.cy.myblog.service;

import com.cy.myblog.model.Tuser;
import com.cy.myblog.pageModel.DataGrid;
import com.cy.myblog.pageModel.User;

public interface UserServiceI {

	public void save(User user);
	
	public Tuser getById(String id);
	
	public Tuser getByHql(User user);

	public Tuser getByHql(String account);

	public Tuser update(User user);

	public void update(Tuser user);

	public void delete(String id);

	public int delete(User user);

    public DataGrid findByPage(User user);
}
